package com.server.response;

import java.util.List;

import com.server.object.PlayerData;
import com.server.protocols.SProtocols;
import com.webserver.server.net.BaseMessage;

public class JoinRoomResp extends BaseMessage{
	//加入状态
	public int state;
	/**
	 * 房主id
	 */
	public long master;
	//玩家列表
	public List<PlayerData> player_list;
	public JoinRoomResp(int state, List<PlayerData> player_list,long master) {
		this.state = state;
		this.player_list = player_list;
		this.master = master;
	}
	
	@Override
	public int GetProtocol() {
		return SProtocols.JOIN_ROOM;
	}
}
